/* 
 *  @author -- Lateef Yusuf
 *  @email -- iamlateef@gatech.edu
 *  @date -- Jul 21, 2010 
 */
package com.simplegdatamaps;

public class Constants {
	
	// gps updates details
	public static final long GPS_UPDATE_FREQUENCY = 60000;
	public static final float GPS_UPDATE_DISTANCE = 5F;
	
	// google map auth details
	public static final String GOOGLEMAPS_DEFAULT_USER = "user";
	public static final String GOOGLEMAPS_DEFAULT_USER_PASSWD = "passwd"; 
    public static final String GOOGLEMAPS_SERVICE = "local";
	public static final String GOOGLEMAPS_SOURCE = "simplegdatamaps-v1";
	
	
	// google map feed urls
	public static final String GDATA_AUTH_TOKEN = "https://www.google.com/accounts/ClientLogin";
	
	public static final String GOOGLEMAPS_FEED_GET_ALL_MAPS = "http://maps.google.com/maps/feeds/maps/%1$s/full";

	public static final String GOOGLEMAPS_FEED_GET_MAP = "http://maps.google.com/maps/feeds/maps/%1$s/full/%2$s";
	public static final	String GOOGLEMAPS_FEED_ADD_MAP = "http://maps.google.com/maps/feeds/maps/%1$s/full";
	public static final	String GOOGLEMAPS_FEED_UPDATE_MAP = "http://maps.google.com/maps/feeds/maps/%1$s/full/%2$s";
	public static final	String GOOGLEMAPS_FEED_DELETE_MAP = "http://maps.google.com/maps/feeds/maps/%1$s/full/%2$s";
	
	public static final	String GOOGLEMAPS_FEED_GET_ALL_FEATURES  = "http://maps.google.com/maps/feeds/features/%1$s/%2$s/full";
	
	public static final	String GOOGLEMAPS_FEED_GET_FEATURE =  "http://maps.google.com/maps/feeds/features/%1$s/%2$s/full/%3$s";
	public static final	String GOOGLEMAPS_FEED_ADD_FEATURE = "http://maps.google.com/maps/feeds/features/%1$s/%2$s/full";
	public static final	String GOOGLEMAPS_FEED_UPDATE_FEATURE = "http://maps.google.com/maps/feeds/festures/%1$s/%2$s/full/%3$s";
	public static final	String GOOGLEMAPS_FEED_DELETE_FEATURE = "http://maps.google.com/maps/feeds/festures/%1$s/%2$s/full/%3$s";
		
	public static final String  GOOGLEMAPS_FEED_SEARCH_MAP =
		"http://maps.google.com/maps/feeds/features/%1$s/%2$s/snippet?lat=%3$s&lng=%4$s&radius=%5$s&sortby=distance";
	
	
}
